package com.xd.core.system.vo;

import com.xd.core.system.entity.SysPermission;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author SJ
 * @since 2023-03-17
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SysUserVo对象", description="用户信息")
public class SysUserVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /*
    * 账号信息
    * */
    @ApiModelProperty(value = "用户")
    private Integer id;
    @ApiModelProperty(value = "公司ID")
    private Integer companyId;
    @ApiModelProperty(value = "公司名字")
    private String companyName;
    @ApiModelProperty(value = "用户名")
    private String userName;
    @ApiModelProperty(value = "用户头像")
    private String avatar;
    @ApiModelProperty(value = "1--平台，2--资管，3--代理")
    private String companyType;
    @ApiModelProperty(value = "角色Id")
    private Integer roleId;
    @ApiModelProperty(value = "资方id")
    private Integer capitalId;
    @ApiModelProperty(value = "账号类型（0--主账号，1--子账号）")
    private String userType;
    @ApiModelProperty(value = "机构编号")
    private String prestoreNo;
    @ApiModelProperty(value = "预存款账户申请状态（1-未申请，2-申请中，3-申请成功，4-上传失败）")
    private String prestoreApplyStatus;
    @ApiModelProperty(value = "企业三要素认证状态(0--未认证，1--认证)")
    private String authStatus;
    @ApiModelProperty(value = "权限集合")
    private List<SysPermission> sysPermission;

}
